package systemServer.members;

public class PaymentCalculationFactory {
	public static IPaymentCalculation create(String s) {
		if (s.equals("Heavy")) {
			return new HeavyMember();
		} else if (s.equals("Common")) {
			return new CommonMember();
		} else
			return null;
	}
}
